class NewsDetailModel {
  var errcode;
  var errmsg;
  Data? data;
  var message;

  NewsDetailModel({this.errcode, this.errmsg, this.data, this.message});

  NewsDetailModel.fromJson(Map<String, dynamic> json) {
    errcode = json['errcode'];
    errmsg = json['errmsg'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    message = json['message'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['errcode'] = this.errcode;
    data['errmsg'] = this.errmsg;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    data['message'] = this.message;
    return data;
  }
}

class Data {
  var title;
  var sTitle;
  var naviContentTf;
  var createDate;
  var categName;
  var content;
  var comments;
  var is_collect;
  var is_praise;
  var share_url;
  var newsproperty_commtf;
  var collects;
  var praises;
  bool? newspropertyRectf1;
  bool? newspropertyMartf1;
  bool? newspropertyHottf1;
  bool? newspropertyFiltf1;
  bool? newspropertyTttf1;
  bool? newspropertyCarefully;
  bool? isPlacement;
  bool? newspropertyAnntf1;
  bool? newspropertyJctf1;
  var images1;
  var images2;
  var images3;
  var appStyle;

  Data(
      {this.title,
        this.sTitle,
        this.naviContentTf,
        this.createDate,
        this.categName,
        this.content,
        this.is_collect,
        this.comments,
        this.share_url,
        this.is_praise,
        this.collects,
        this.praises,
        this.newsproperty_commtf,
        this.newspropertyRectf1,
        this.newspropertyMartf1,
        this.newspropertyHottf1,
        this.newspropertyFiltf1,
        this.newspropertyTttf1,
        this.newspropertyCarefully,
        this.isPlacement,
        this.newspropertyAnntf1,
        this.newspropertyJctf1,
        this.images1,
        this.images2,
        this.images3,
        this.appStyle});

  Data.fromJson(Map<String, dynamic> json) {
    title = json['title'];
    sTitle = json['s_title'];
    naviContentTf = json['naviContentTf'];
    createDate = json['create_date'];
    categName = json['categ_name'];
    content = json['content'];
    comments = json['comments'];
    share_url = json['share_url'];
    is_collect = json['is_collect'];
    is_praise = json['is_praise'];
    collects = json['collects'];
    praises = json['praises'];
    newsproperty_commtf = json['newsproperty_commtf'];
    newspropertyRectf1 = json['newsproperty_rectf1'];
    newspropertyMartf1 = json['newsproperty_martf1'];
    newspropertyHottf1 = json['newsproperty_hottf1'];
    newspropertyFiltf1 = json['newsproperty_filtf1'];
    newspropertyTttf1 = json['newsproperty_tttf1'];
    newspropertyCarefully = json['newsproperty_carefully'];
    isPlacement = json['is_placement'];
    newspropertyAnntf1 = json['newsproperty_anntf1'];
    newspropertyJctf1 = json['newsproperty_jctf1'];
    images1 = json['images1'];
    images2 = json['images2'];
    images3 = json['images3'];
    appStyle = json['app_style'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['s_title'] = this.sTitle;
    data['naviContentTf'] = this.naviContentTf;
    data['create_date'] = this.createDate;
    data['categ_name'] = this.categName;
    data['content'] = this.content;
    data['comments'] = this.comments;
    data['newsproperty_rectf1'] = this.newspropertyRectf1;
    data['newsproperty_martf1'] = this.newspropertyMartf1;
    data['newsproperty_hottf1'] = this.newspropertyHottf1;
    data['newsproperty_filtf1'] = this.newspropertyFiltf1;
    data['newsproperty_tttf1'] = this.newspropertyTttf1;
    data['newsproperty_carefully'] = this.newspropertyCarefully;
    data['is_placement'] = this.isPlacement;
    data['newsproperty_anntf1'] = this.newspropertyAnntf1;
    data['newsproperty_jctf1'] = this.newspropertyJctf1;
    data['images1'] = this.images1;
    data['images2'] = this.images2;
    data['images3'] = this.images3;
    data['app_style'] = this.appStyle;
    return data;
  }
}
